<link rel="stylesheet" href="../public/all/css/lhc.css">

<script src="../public/all/js/pages/result.js"></script>
<script>
    window.drawLong = ResultUI.phoneLongLhc;
    window.customDrawNumber = function(n) {
        var i = parseInt(n);
        var gameRule = Util.getGameRule("lhc");

        var c = '<div class="__class__">__i__</div>';
        c = c.replace(/__i__/, n);
        if (gameRule.hongbo().indexOf(i) != -1) c = c.replace(/__class__/, 'item-red');
        else if (gameRule.lanbo(n).indexOf(i) != -1) c = c.replace(/__class__/, 'item-blue');
        else if (gameRule.lvbo(n).indexOf(i) != -1) c = c.replace(/__class__/, 'item-green');
        return c;
    }
</script>
